{extends file="layout.tpl"}
{block name="content"}
<div class="box-content box-music">
	<div class="box-ringtone">
		<div class="detail-title clr _bdot _mp20">
			<span class="fl strong _f11">
				{$box_title} <img alt="" src="{url path="images/navRow.png"}">
			</span>
			<span class="fr _cl9 _f11">
				{$new['date']}
			</span>
		</div>
		<div class="mcontent">
			<ol class="m-list">
			{$i=0}
			{foreach $ringtones as $ringtone}
				<li class="m-item{if (($i++)%2==0)} m-event{/if} {if ($i==count($ringtones))} m-last{/if}">
					<div class="m-row">
						{if $ringtone['image'] != ''}
							<div class="v-image">
								<img alt="{$ringtone['name']}" src="{url path="{$ringtone['image']}"}">
							</div>
						{/if}
						<div {if $ringtone['image'] != ''} class="v-info" {/if}>
							<h2>
								<a title="{$ringtone['name']}" href="{site_url($ringtone['link'])}">{$ringtone['name']}</a>
								{if $ringtone['is_hot'] == 1}
									<img alt="Hot" src="{url path="images/icon/hot.gif"}" />
								{/if}
							</h2>
							<div>
								<div><span class="m-data-player"><img alt="Thể loại" src="{url path="images/icon/playing.gif"}" /> {__('Thể loại')}: <a title="{$ringtone['music_type_name']}" href="{site_url($ringtone['media_type_link'])}">{$ringtone['media_type_name']}</a></span></div>
								<div><span class="m-download"><img alt="Dowload" src="{url path="images/icon/download.gif"}" /> <a title="{__('Tải về')}" href="{$ringtone['download']}">{__('Tải về')}</a></span></div>
							</div>
						</div>
					</div>
				</li>
			{/foreach}
			</ol>
		</div>
		{if $pagination != ''}
		<div class="paper">
			{$pagination}
		</div>
		{/if}
	</div>
</div>
{/block}